﻿@page

@functions {
    public IActionResult OnGet()
    {
        Message = "From OnGet";

        return Page();
    }
    public string Message { get; set; } = "Default";
}
The message: @Message
